#ifndef __FOREST_STATE_H__
#define __FOREST_STATE_H__

#include "../../dataengine/VorestTreeInfo.h"
#include <vector>
#include <string>

namespace slotsdata
{
	class ForestState
	{
		public:
			ForestState() : m_name("empty"), m_numTrees(0){}
			ForestState(std::string fileName);
			ForestState(std::string name, const std::vector< dataengine::VorestTreeInfo > &trees) : m_name(name), m_trees(trees), m_numTrees(trees.size()) {}
			const dataengine::VorestTreeInfo & at(int index){return m_trees.at(index);}
			int numberOfTrees(){return m_numTrees;} 
			void replaceTreeInfo(int ID, dataengine::VorestTreeInfo info);
		private:
			std::string m_name;
			std::vector< dataengine::VorestTreeInfo> m_trees;
			int m_numTrees;

	};
}
#endif

